let a = ["后盾人", "向军"];

console.log(JSON.stringify(Object.entries(a), null, 2));
let b = { name: "后盾人", title: "向军" };
console.log(JSON.stringify(Object.entries(b), null, 2));
